package com.yujie.exception;

public enum EmployeeErrorCodeEnum {
    SUCCESS("200", "成功"),
    USER_ERROR_0001("A0001", "用户操作异常"),
    USER_ERROR_0002("A0002", "数据传参错误"),
    SYSTEM_ERROR_0001("B0001", "系统异常");

    private final String code;
    private final String description;

    EmployeeErrorCodeEnum(String code, String description) {
        this.code = code;
        this.description = description;
    }

    public String getCode() {
        return code;
    }

    public String getDescription() {
        return description;
    }

}